package LanQiao._15JavaB;

import java.awt.image.BufferedImageFilter;

public class _1 {
    public static void main(String[] args) {

        long sum = 0;
        long count = 0;
        long n = 202420242024L;
        long l = n % 10;
        long k = n / 10;
        for (long i = 0; i < k; i++) {
            sum += 120;
        }
        System.out.println(sum);
        boolean flag = true;
        for (long i = 0; i < l; i++) {
            if (flag){
                sum += 20;
                flag = !flag;
            }else {
                sum += 4;
                flag = !flag;
            }
        }
        System.out.println(sum);
    }
}
